
package com.compuvest.advert;

public class Category {

    private int categoryid;
    private int parent;
    private String name;
    private int countItem;
    private boolean sendEbay;
    private double margin;
    private double surCharge;
    private int minQtyStore;
    private int startQtyStore;
    private boolean sendStore;
    private int minQtyFixPrice;
    private int startQtyFixPrice;
    private boolean sendFixPrice;
    private int minQtyAction;
    private boolean sendAction;

    public Category() {
	this(0, 0, "", 0);
    }

    public Category(int categoryid, int parent, String catName, int countItem) {
	this(categoryid, parent, catName, countItem, false, 3d, 0d, 5, 3, false, 5, 3, false, 5, false);
    }

    public Category(int categoryid, int parent, String catName, int countItem,
		boolean sendEbay, double margin, double surCharge, int minQtyStore, int startQtyStore, boolean sendStore,
		int minQtyFixPrice, int startQtyFixPrice, boolean sendFixPrice, int minQtyAction, boolean sendAction) {

	this.categoryid = categoryid;
	this.parent = parent;
	this.name = catName;
	this.countItem = countItem;
	this.sendEbay = sendEbay;
	this.margin = margin;
	this.surCharge = surCharge;
	this.minQtyStore = minQtyStore;
	this.startQtyStore = startQtyStore;
	this.sendStore = sendStore;
	this.minQtyFixPrice = minQtyFixPrice;
	this.startQtyFixPrice = startQtyFixPrice;
	this.sendFixPrice = sendFixPrice;
	this.minQtyAction = minQtyAction;
	this.sendAction = sendAction;
    }

    public int getCategoryID()				{ return categoryid; }
    public void setCategoryID(int categoryid)		{ this.categoryid = categoryid; }

    public int getParent()				{ return parent; }
    public void setParent(int parent)			{ this.parent = parent; }

    public String getCategoryName()			{ return name; }
    public void setCategoryName(String name)		{ this.name = name; }

    public int getCountItem()				{ return countItem; }
    public void setCountItem(int countItem)		{ this.countItem = countItem; }

    public boolean getSendEbay()			{ return sendEbay; }
    public void setSendEbay(boolean sendEbay)		{ this.sendEbay = sendEbay; }

    public double getMargin()				{ return margin; }
    public void setMargin(double margin)		{ this.margin = margin; }

    public double getSurCharge()			{ return surCharge; }
    public void setSurCharge(double surCharge)		{ this.surCharge = surCharge; }

    public int getMinQtyStore()				{ return minQtyStore; }
    public void setMinQtyStore(int minQtyStore)		{ this.minQtyStore = minQtyStore; }

    public int getStartQtyStore()			{ return startQtyStore; }
    public void setStartQtyStore(int startQtyStore)	{ this.startQtyStore = startQtyStore; }

    public boolean getSendStore()			{ return sendStore; }
    public void setSendStore(boolean sendStore)		{ this.sendStore = sendStore; }

    public int getMinQtyFixPrice()			{ return minQtyFixPrice; }
    public void setMinQtyFixPrice(int minQtyFixPrice)	{ this.minQtyFixPrice = minQtyFixPrice; }

    public int getStartQtyFixPrice()			{ return startQtyFixPrice; }
    public void setStartQtyFixPrice(int startQtyFixPrice){ this.startQtyFixPrice = startQtyFixPrice; }

    public boolean getSendFixPrice()			{ return sendFixPrice; }
    public void setSendFixPrice(boolean sendFixPrice)	{ this.sendFixPrice = sendFixPrice; }

    public int getMinQtyAction()			{ return minQtyAction; }
    public void setMinQtyAction(int minQtyAction)	{ this.minQtyAction = minQtyAction; }

    public boolean getSendAction()			{ return sendAction; }
    public void setSendAction(boolean sendAction)	{ this.sendAction = sendAction; }
}
